//package com.woniu.CarPlatform.config;
//
//import com.netflix.loadbalancer.IRule;
//import org.springframework.cloud.client.loadbalancer.LoadBalanced;
//import org.springframework.cloud.netflix.ribbon.RibbonClients;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.client.RestTemplate;
//
///**
// * @ClassName RibbonConfig
// * @Description
// * @Author 王维鑫
// * @Version
// **/
//@Configuration
//@RibbonClients(defaultConfiguration = RibbonConfig.class)
//public class RibbonConfig {
//    @Bean
//    public IRule createRule(){
//        return  new MyRule();
//    }
//
//}
